#include<cstdio>
#include<iostream>
void TestWriteFile()
{
    FILE* fptr = fopen("conten.txt","w");
    const char* sentence = "you reap what you sew";

    for(int i = 0 ; i< 10 ; i++)
    {
       //fprintf(stdout , "%d->%s\n",i,sentence ); 
       fprintf(fptr , "%d->%s\n",i,sentence ); 
    }

    fclose(fptr);

}

void MyCat()
{
    FILE* fptr = fopen("conten.txt","r");
    
    char buffer[1024];
    while(fgets(buffer , 1024 , fptr))
    {
        std::cout << buffer;
    }
    
}

int main()
{
   // TestWriteFile();
   
    std::cout << "charge !!!" << std::endl;
    return 0;
}
